package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 公寓附近大学列对象 tb_apart_uni_ref
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "ApartUniRef", description = "公寓附近大学列")
public class ApartUniRef implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 公寓附近大学列表主键 */
    @ApiModelProperty("公寓附近大学列表主键")
    private Long id;

    /** 共寓主键 */
    @Excel(name = "共寓主键")
    @ApiModelProperty("共寓主键")
    private Long apartmentId;

    /** 大学主键 */
    @Excel(name = "大学主键")
    @ApiModelProperty("大学主键")
    private Long universityId;

    /** 公寓到大学步行时间 */
    @Excel(name = "公寓到大学步行时间")
    @ApiModelProperty("公寓到大学步行时间")
    private String onfoot;

    /** 公寓到大学公交车需要时间 */
    @Excel(name = "公寓到大学公交车需要时间")
    @ApiModelProperty("公寓到大学公交车需要时间")
    private String bybus;

    /** 公寓到大学的自驾车时间 */
    @Excel(name = "公寓到大学的自驾车时间")
    @ApiModelProperty("公寓到大学的自驾车时间")
    private String bycar;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setApartmentId(Long apartmentId)
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId()
    {
        return apartmentId;
    }
    public void setUniversityId(Long universityId)
    {
        this.universityId = universityId;
    }

    public Long getUniversityId()
    {
        return universityId;
    }
    public void setOnfoot(String onfoot)
    {
        this.onfoot = onfoot;
    }

    public String getOnfoot()
    {
        return onfoot;
    }
    public void setBybus(String bybus)
    {
        this.bybus = bybus;
    }

    public String getBybus()
    {
        return bybus;
    }
    public void setBycar(String bycar)
    {
        this.bycar = bycar;
    }

    public String getBycar()
    {
        return bycar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("apartmentId", getApartmentId())
            .append("universityId", getUniversityId())
            .append("onfoot", getOnfoot())
            .append("bybus", getBybus())
            .append("bycar", getBycar())
            .toString();
    }
}
